package com.practice.springboot_01_zwj.service.impl;

import com.practice.springboot_01_zwj.entity.HealthyEightRate;
import com.practice.springboot_01_zwj.entity.IncomeQuestion;
import com.practice.springboot_01_zwj.mapper.HealthyEightRateMapper;
import com.practice.springboot_01_zwj.mapper.IncomeQuestionMapper;
import com.practice.springboot_01_zwj.service.HealthyEightRateService;
import com.practice.springboot_01_zwj.service.IncomeQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class HealthyEightRateServiceImpl implements HealthyEightRateService {
    @Autowired
    private HealthyEightRateMapper dao;

    @Override
    public List<HealthyEightRate> selectHealthyEightRateAll() {
        return dao.selectHealthyEightRateAll();
    }

    @Override
    public HealthyEightRate selectByCityCode(String cityCode) {
        return dao.selectByCityCode(cityCode);
    }
}
